#pragma once
#include <iostream>
#include <pthread.h>
#include <string>
#include <unistd.h>

#define THREAD_NUM 5
volatile bool quit = false; //volatile：禁止编译器将quit优化为寄存器变量